package com.huabo.contract.oracle.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Transient;

/**
 * <p>
 * 
 * </p>
 *
 * @author huabo
 * @since 2022-03-22
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("TBL_LEGAL_QUALIFICATION")
@ApiModel(value="TblLegalQualification对象", description="")
public class TblLegalQualification implements Serializable {
//资质保全、资产保全
    private static final long serialVersionUID = 1L;

      @TableId("QUALID")
      @Id
      @GeneratedValue(strategy = GenerationType.IDENTITY,generator = "select MYTASK_SEQUENCE.nextval from dual")
      private Integer qualid;

    @TableField("LINKORG")
    private BigDecimal linkorg;

    @TableField("CREATESTAFF")
    private BigDecimal createstaff;

    @TableField("CREATETIME")
    private LocalDateTime createtime;

    @TableField("DISPUTEINFO")
    private BigDecimal disputeinfo;

    @TableField("APPLYPRESERVATION")//是否申请保全：applypreservation：1是，2否
    private BigDecimal applypreservation;

    @TableField("PRESERVEDAMOUNT")//（被）保全资产数额（万元）
    private BigDecimal preservedamount;

    @TableField("PRESERVEDNATURE")//保全资产性质
    private String preservednature;

    @TableField("ISPERFORMED")//是否执行扣划：isperformed：1是，2否
    private BigDecimal isperformed;

    @TableField("EXCETEAMOUNT")//（被）执行金额（万元）
    private BigDecimal exceteamount;

    @TableField("ISCANCEL")//是否接触保全：iscancel：1是，2否。
    private BigDecimal iscancel;

    @TableField("STILLFROZEN")
    private String stillfrozen;

    @TableField("PRESERVATION")
    private String preservation;

      @ApiModelProperty(value = "贵安-资质保全-被保全资产名称及编号")
      @TableField("PRESERVEDNAME")
    private String preservedname;

      @ApiModelProperty(value = "贵安-资质保全-执行阶段")
      @TableField("EXECUTIONPHASE")
    private String executionphase;

      @ApiModelProperty(value = "贵安-资质保全-被保全资产编号")
      @TableField("PRESERVEDCODE")
    private String preservedcode;

      @ApiModelProperty(value = "贵安冻结法院")
      @TableField("COURT")
    private String court;

      @ApiModelProperty(value = "贵安冻结标的")
      @TableField("SUBJECTMATTER")
    private String subjectmatter;

      @ApiModelProperty(value = "贵安申请人")
      @TableField("APPLICANT")
    private String applicant;

      @ApiModelProperty(value = "贵安被申请人")
      @TableField("RESPONDENT")
    private String respondent;

      @ApiModelProperty(value = "贵安申请金额")
      @TableField("APPLYAMOUNT")
    private BigDecimal applyamount;

      @ApiModelProperty(value = "贵安实际冻结金额")
      @TableField("FROZENAMOUNT")
    private BigDecimal frozenamount;

      @ApiModelProperty(value = "贵安划扣金额")
      @TableField("KOUHUAAMOUNT")
    private BigDecimal kouhuaamount;

      @ApiModelProperty(value = "贵安冻结备注")
      @TableField("FROZENMEMO")
    private String frozenmemo;

      @ApiModelProperty(value = "贵安实际保全资产情况")
      @TableField("ACTUALPRESERVED")
    private String actualpreserved;

      @Transient
    private String disputeitem;//隶属纠纷

      @Transient
    private BigDecimal minExceteAmount;
    @Transient
    private BigDecimal minPreservedAmount;


    //映射TblLegalDisputregistration

    @Transient
    private Integer disputeid;
    @Transient
    private String disputeno;
    @Transient
    private BigDecimal disputestatus;
    @Transient
    private String disputetype;
    @Transient
    private BigDecimal contractinfo;
    @Transient
    private String disputecours;
    @Transient
    private BigDecimal isuegent;
    @Transient
    private BigDecimal whethersued;//起诉类型
    @Transient
    private BigDecimal disputeundertaker;
    @Transient
    private LocalDateTime lastdealdate;
    @Transient
    private String solutionsuggestions;
    @Transient
    private String plaintiff;
    @Transient
    private String defendant;
    @Transient
    private String attorney;
    @Transient
    private String attorneyphont;
    @Transient
    private BigDecimal dispuinfo;
    @Transient
    private BigDecimal isattorney;
    @ApiModelProperty(value = "贵安配合人员")
    @Transient
    private String coordination;
    @ApiModelProperty(value = "贵安纠纷登记-案由")
    @Transient
    private String casecause;
    @ApiModelProperty(value = "贵安纠纷登记-涉诉项目")
    @Transient
    private String ssproject;
    @ApiModelProperty(value = "贵安纠纷登记-管辖法院（仲裁机构）")
    @Transient
    private String courtfirst;
    @ApiModelProperty(value = "贵安纠纷登记-诉讼金额")
    @Transient
    private BigDecimal litigationamount;
    @ApiModelProperty(value = "贵安纠纷登记-发生时间")
    @Transient
    private LocalDateTime occurrencetime;
    @ApiModelProperty(value = "贵安纠纷登记-涉及子公司")
    @Transient
    private String subsidiaries;
}
